const { no, ok } = require('../utils/utlis');

module.exports = (err, req, res, next) => {
	if (err) {
		res.send(no(err.message));
	}
	next();
};


